package com.qzdsoft.erpcloud.mapper.proj;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qzdsoft.erpcloud.domain.proj.BomItem;
import com.qzdsoft.erpcloud.domain.proj.BomItemExample;
import com.qzdsoft.erpcloud.util.MyMapper;

public interface BomItemMapper extends MyMapper<BomItem>{
    int countByExample(BomItemExample example);

    int deleteByExample(BomItemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BomItem record);

    int insertSelective(BomItem record);

    List<BomItem> selectByExample(BomItemExample example);

    BomItem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BomItem record, @Param("example") BomItemExample example);

    int updateByExample(@Param("record") BomItem record, @Param("example") BomItemExample example);

    int updateByPrimaryKeySelective(BomItem record);

    int updateByPrimaryKey(BomItem record);

	List<BomItem> findByBomid(int bomId);

	int deleteByBomId(Integer id);

    int deleteByIds(List<Integer> ids);
}